home *** CD-ROM | disk | FTP | other *** search
/ Night Owl 6 / Night Owl's Shareware - PDSI-006 - Night Owl Corp (1990).iso / 015a / wtil21.zip / WAITTIL.DOC < prev    next >
Text File  |  1991-12-05  |  5KB  |  126 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.                                        WaitTil
  8.                   A utility to pause the execution of a batch file.
  9.  
  10.                               Copyright 1991 Bill Hewitt
  11.                                  All rights reserved.
  12.  
  13.  
  14.  
  15.           SHAREWARE - See the included file "(C)_1991.DOC" for complete
  16.           copyright and warranty information.
  17.  
  18.           INTRODUCTION
  19.  
  20.                WaitTil pauses the execution of a batch file until a user-
  21.                specified time.  The current time, time scheduled for
  22.                execution, and a user specified message is displayed on the
  23.                screen.  The screen display moves every ten seconds to
  24.                prevent screen burn and as a "pacifier" so you know the
  25.                computer isn't hung.
  26.  
  27.                NetWork support - WaitTil optionally writes to a work file
  28.                in a user-specified directory every ten seconds.  Most
  29.                "wait" utilities cannot detect when a network connection is
  30.                lost until the program terminates and the batch file is
  31.                reread.
  32.  
  33.                WaitTil may be aborted by pressing <F3>.  If WaitTil
  34.                terminates normally, ERRORLEVEL is set to 0.  If it is
  35.                aborted with the <F3> key, ERRORLEVEL is set to 1.  Other
  36.                errors set ERRORLEVEL to 2.
  37.  
  38.           TO USE WaitTil
  39.  
  40.                Insert the following in your batch file at the point you
  41.                wish to pause execution.
  42.  
  43.                     WAITTIL hh:mm [message] [/N[:path]]
  44.  
  45.                          hh:mm     the time to continue execution of the
  46.                                    batch file
  47.  
  48.                          message   a message to be displayed while
  49.                                    execution is paused
  50.  
  51.                          :path     the path to write the work file
  52.                                    (WAITTIL.$$$) to - /N is required for
  53.                                    this to have any purpose
  54.  
  55.                          /N        enable network support - this causes a
  56.                                    time and date stamp to be written to a
  57.                                    work file (WAITTIL.$$$) in the directory
  58.                                    specified by [path].  If no path is
  59.                                    specified, the file will be created in
  60.                                    the current directory.
  61.  
  62.  
  63.  
  64.  
  65.  
  66.                                        WaitTil
  67.                   A utility to pause the execution of a batch file.
  68.  
  69.                               Copyright 1991 Bill Hewitt
  70.                                  All rights reserved.
  71.  
  72.  
  73.  
  74.           NETWORK RIGHTS
  75.  
  76.                If you enable network support (/N), be sure you have
  77.                read/write permission to the directory the work file.
  78.  
  79.           WORK FILE
  80.  
  81.                If WaitTil terminates normally, the work file is deleted. 
  82.                If the server connection is lost or your station hangs, gets
  83.                turned off, etcetera, the file will contain the last time
  84.                and date the file was written to.  If <F3> is pressed, the
  85.                file will remain and contain "Aborted by user hh:mm".
  86.  
  87.           SUPPORT
  88.  
  89.                If you are a registered user and encounter problems or have
  90.                questions or suggestions, you may write to me at one of the
  91.                addresses below or call me.  If you call, please do not call
  92.                before noon or after midnight eastern time.
  93.  
  94.                                      Bill Hewitt
  95.                                   7868 NW 7th Court
  96.                               Plantation, FL 33324-1410
  97.                                 Voice: (305) 473-0938
  98.                                    GEnie: K.SUTTON4
  99.                                 Compu$erve:76675,3560
  100.  
  101.  
  102.  
  103.  
  104.  
  105.                                        WaitTil
  106.                   A utility to pause the execution of a batch file.
  107.  
  108.                               Copyright 1991 Bill Hewitt
  109.                                  All rights reserved.
  110.  
  111.  
  112.           VERSION NOTES
  113.  
  114.           1.0   9/21/90  Original release.
  115.  
  116.           2.0  11/26/91  Added network support.
  117.  
  118.                          Change from direct key scan to correct problem
  119.                          aborting remotely using Carbon Copy.  
  120.  
  121.                          Fix edit for valid time.  Change highest valid
  122.                          hour from 23 to 24.
  123.  
  124.           2.1  12/04/91  Add DOS-like help with /? switch.
  125.  
  126.                          Change abort key from F1 to F3 for CUA compliance.